var menulist=[{
"id":1,
"name":'首页',
"icon_name":'nindex',
"link":''
},{
"id":1,
"name":'系统公告',
"icon_name":'wnotice',
"link":''
},{
"id":1,
"name":'预警管理',
"icon_name":'wmanage',
"link":''
}];


var html='<div class="leftmenu"> <ul>';
for(var i=0;i<menulist.length;i++){
	var temp=menulist[i];
	html+='<li name="home" onclick="window.loaction.href=\''+temp.link+'\'"> <div> <i class="icon"></i> <label>'+temp.name+'</label> </div> </li>';
}
html+='</ul> </div> <div class="vertival-line"></div>';
document.write(html);
